package pop3proxy.server;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author zero.one
 */
public class Account {

    private String id;
    private String password;

    public Account(String id, String password) {
        this.id = id;
        this.password = password;
    }

    public boolean equals(Account a) {
        return a.id.equals(this.id) && a.password.equals(this.password);
    }
    
    public String getName(){
        return this.id;
    }
    
    public String getPassword(){
        return this.password;
    }
    
    
}
